package edu.spec.sms.service.impl;

import edu.spec.sms.dao.iface.IStudentLectureDao;
import edu.spec.sms.service.iface.IStudentLectureService;
import org.springframework.stereotype.Service;

import javax.inject.Inject;

@Service
public class StudentLectureService implements IStudentLectureService {

    @Inject
    private IStudentLectureDao studentLectureDao;

    @Override
    public void signIn(Integer studentId, Integer lectureId, Float latitude, Float longitude) {
        studentLectureDao.signIn(studentId, lectureId, latitude, longitude);
    }

    @Override
    public void like(Integer studentId, Integer lectureId) {
        studentLectureDao.like(studentId, lectureId);
    }
}
